package com.ruoyi.hyg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 通知管理对象 notice
 *
 * @author ruoyi
 * @date 2025-08-13
 */
public class notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    
    /** 通知ID */
    private Long id;
    
    /** 通知标题 */
    @Excel(name = "通知标题")
    private String title;
    
    /** 通知内容 */
    @Excel(name = "通知内容")
    private String content;
    
    /** 0是已删除，1是保留 */
    private Long del;
    
    /** 通知类型ID */
    @Excel(name = "通知类型ID")
    private Long typeId;
    
    /** 用户ID(个人消息专用) */
    @Excel(name = "用户ID(个人消息专用)")
    private Long userId;
    
    @Excel(name = "用户名")
    private String userName;
    
    @Excel(name = "订单编号")
    private String orderNo;
    
    @Excel(name = "订单金额")
    private BigDecimal amount;
    
    @Excel(name = "订单状态")
    private String orderStatus;
    
    public void setId(Long id)
    {
        this.id = id;
    }
    
    public Long getId()
    {
        return id;
    }
    
    public void setTitle(String title)
    {
        this.title = title;
    }
    
    public String getTitle()
    {
        return title;
    }
    
    public void setContent(String content)
    {
        this.content = content;
    }
    
    public String getContent()
    {
        return content;
    }
    
    public void setDel(Long del)
    {
        this.del = del;
    }
    
    public Long getDel()
    {
        return del;
    }
    
    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }
    
    public Long getTypeId()
    {
        return typeId;
    }
    
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }
    
    public Long getUserId()
    {
        return userId;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public String getOrderNo() {
        return orderNo;
    }
    
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    
    public BigDecimal getAmount() {
        return amount;
    }
    
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
    
    public String getOrderStatus() {
        return orderStatus;
    }
    
    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }
    
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("createTime", getCreateTime())
                .append("del", getDel())
                .append("typeId", getTypeId())
                .append("userId", getUserId())
                .append("orderNo", getOrderNo())
                .append("amount", getAmount())
                .append("orderStatus", getOrderStatus())
                .toString();
    }
}
